﻿using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Timeline;
[CreateAssetMenu(menuName ="Asset/Core/TimeLineAnimatorBinding")]
public class TimeLineConfigSO:ScriptableObject
{
   public List<TimeLineConfigInfo> timeLineConfigInfos;
}
[System.Serializable]
public class TimeLineConfigInfo
{
    public string timelineName;
    public TimelineAsset timelineAsset;
    public List<TimeLineAnimatorBinding> timeLineAnimatorBindings;
}
[System.Serializable]
public class TimeLineAnimatorBinding
{
    public string trackName;
    //下面两者必须有一种
    public string targetPath; // 目标对象的查找路径
    public string identifierID; //识别ID
    public Animator animator { get; set; }
}